package UtranNRMProfile;


/**
 * Generated from IDL interface "AtmChannelTerminationPoint".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class AtmChannelTerminationPointPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, UtranNRMProfile.AtmChannelTerminationPointOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_set_VirtualPathId", new java.lang.Integer(0));
		m_opsHash.put ( "_get_ServiceCategoryIn", new java.lang.Integer(1));
		m_opsHash.put ( "_set_VirtualChannelId", new java.lang.Integer(2));
		m_opsHash.put ( "_set_MinimumCellRateEg", new java.lang.Integer(3));
		m_opsHash.put ( "_get_ServiceCategoryEg", new java.lang.Integer(4));
		m_opsHash.put ( "_set_ServiceCategoryIn", new java.lang.Integer(5));
		m_opsHash.put ( "_set_PhysicalPortId", new java.lang.Integer(6));
		m_opsHash.put ( "_get_SustainableCellRateIn", new java.lang.Integer(7));
		m_opsHash.put ( "_get_PhysicalInterfaceType", new java.lang.Integer(8));
		m_opsHash.put ( "_get_AtmChannelTerminationPointIubLink", new java.lang.Integer(9));
		m_opsHash.put ( "_set_MinimumDesiredCellRateIn", new java.lang.Integer(10));
		m_opsHash.put ( "_get_AtmChannelTerminationPointId", new java.lang.Integer(11));
		m_opsHash.put ( "_set_UsedAAL", new java.lang.Integer(12));
		m_opsHash.put ( "_set_SustainableCellRateIn", new java.lang.Integer(13));
		m_opsHash.put ( "_get_MinimumDesiredCellRateIn", new java.lang.Integer(14));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(15));
		m_opsHash.put ( "_get_SustainableCellRateEg", new java.lang.Integer(16));
		m_opsHash.put ( "_set_PeakCellRateIn", new java.lang.Integer(17));
		m_opsHash.put ( "_set_MaximumBurstSizeIn", new java.lang.Integer(18));
		m_opsHash.put ( "_get_MinimumDesiredCellRateEg", new java.lang.Integer(19));
		m_opsHash.put ( "_get_VirtualPathId", new java.lang.Integer(20));
		m_opsHash.put ( "_get_UsedAAL", new java.lang.Integer(21));
		m_opsHash.put ( "_get_PeakCellRateIn", new java.lang.Integer(22));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(23));
		m_opsHash.put ( "_get_MinimumCellRateIn", new java.lang.Integer(24));
		m_opsHash.put ( "_set_MinimumDesiredCellRateEg", new java.lang.Integer(25));
		m_opsHash.put ( "_set_MinimumCellRateIn", new java.lang.Integer(26));
		m_opsHash.put ( "_get_MaximumBurstSizeIn", new java.lang.Integer(27));
		m_opsHash.put ( "_get_PhysicalPortId", new java.lang.Integer(28));
		m_opsHash.put ( "_set_SustainableCellRateEg", new java.lang.Integer(29));
		m_opsHash.put ( "_get_AtmChannelTerminationPointAtmPathTerminationPoint", new java.lang.Integer(30));
		m_opsHash.put ( "_get_PeakCellRateEg", new java.lang.Integer(31));
		m_opsHash.put ( "_set_ServiceCategoryEg", new java.lang.Integer(32));
		m_opsHash.put ( "_get_UsageChannel", new java.lang.Integer(33));
		m_opsHash.put ( "_get_MinimumCellRateEg", new java.lang.Integer(34));
		m_opsHash.put ( "_get_MaximumBurstSizeEg", new java.lang.Integer(35));
		m_opsHash.put ( "_set_PhysicalInterfaceType", new java.lang.Integer(36));
		m_opsHash.put ( "_set_MaximumBurstSizeEg", new java.lang.Integer(37));
		m_opsHash.put ( "_set_PeakCellRateEg", new java.lang.Integer(38));
		m_opsHash.put ( "_get_VirtualChannelId", new java.lang.Integer(39));
	}
	private String[] ids = {"IDL:UtranNRMProfile/AtmChannelTerminationPoint:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public UtranNRMProfile.AtmChannelTerminationPoint _this()
	{
		return UtranNRMProfile.AtmChannelTerminationPointHelper.narrow(_this_object());
	}
	public UtranNRMProfile.AtmChannelTerminationPoint _this(org.omg.CORBA.ORB orb)
	{
		return UtranNRMProfile.AtmChannelTerminationPointHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _set_VirtualPathId
			{
			_out = handler.createReply();
			VirtualPathId(_input.read_ulong());
				break;
			}
			case 1: // _get_ServiceCategoryIn
			{
			_out = handler.createReply();
			UtranNRMSystem.ServiceCategoryTypeHelper.write(_out,ServiceCategoryIn());
				break;
			}
			case 2: // _set_VirtualChannelId
			{
			_out = handler.createReply();
			VirtualChannelId(_input.read_ulong());
				break;
			}
			case 3: // _set_MinimumCellRateEg
			{
			_out = handler.createReply();
			MinimumCellRateEg(_input.read_ulong());
				break;
			}
			case 4: // _get_ServiceCategoryEg
			{
			_out = handler.createReply();
			UtranNRMSystem.ServiceCategoryTypeHelper.write(_out,ServiceCategoryEg());
				break;
			}
			case 5: // _set_ServiceCategoryIn
			{
			_out = handler.createReply();
			ServiceCategoryIn(UtranNRMSystem.ServiceCategoryTypeHelper.read(_input));
				break;
			}
			case 6: // _set_PhysicalPortId
			{
			_out = handler.createReply();
			PhysicalPortId(_input.read_string());
				break;
			}
			case 7: // _get_SustainableCellRateIn
			{
			_out = handler.createReply();
			_out.write_ulong(SustainableCellRateIn());
				break;
			}
			case 8: // _get_PhysicalInterfaceType
			{
			_out = handler.createReply();
			_out.write_string(PhysicalInterfaceType());
				break;
			}
			case 9: // _get_AtmChannelTerminationPointIubLink
			{
			_out = handler.createReply();
			_out.write_string(AtmChannelTerminationPointIubLink());
				break;
			}
			case 10: // _set_MinimumDesiredCellRateIn
			{
			_out = handler.createReply();
			MinimumDesiredCellRateIn(_input.read_ulong());
				break;
			}
			case 11: // _get_AtmChannelTerminationPointId
			{
			_out = handler.createReply();
			_out.write_string(AtmChannelTerminationPointId());
				break;
			}
			case 12: // _set_UsedAAL
			{
			_out = handler.createReply();
			UsedAAL(UtranNRMSystem.UsedAALTypeHelper.read(_input));
				break;
			}
			case 13: // _set_SustainableCellRateIn
			{
			_out = handler.createReply();
			SustainableCellRateIn(_input.read_ulong());
				break;
			}
			case 14: // _get_MinimumDesiredCellRateIn
			{
			_out = handler.createReply();
			_out.write_ulong(MinimumDesiredCellRateIn());
				break;
			}
			case 15: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 16: // _get_SustainableCellRateEg
			{
			_out = handler.createReply();
			_out.write_ulong(SustainableCellRateEg());
				break;
			}
			case 17: // _set_PeakCellRateIn
			{
			_out = handler.createReply();
			PeakCellRateIn(_input.read_ulong());
				break;
			}
			case 18: // _set_MaximumBurstSizeIn
			{
			_out = handler.createReply();
			MaximumBurstSizeIn(_input.read_ulong());
				break;
			}
			case 19: // _get_MinimumDesiredCellRateEg
			{
			_out = handler.createReply();
			_out.write_ulong(MinimumDesiredCellRateEg());
				break;
			}
			case 20: // _get_VirtualPathId
			{
			_out = handler.createReply();
			_out.write_ulong(VirtualPathId());
				break;
			}
			case 21: // _get_UsedAAL
			{
			_out = handler.createReply();
			UtranNRMSystem.UsedAALTypeHelper.write(_out,UsedAAL());
				break;
			}
			case 22: // _get_PeakCellRateIn
			{
			_out = handler.createReply();
			_out.write_ulong(PeakCellRateIn());
				break;
			}
			case 23: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 24: // _get_MinimumCellRateIn
			{
			_out = handler.createReply();
			_out.write_ulong(MinimumCellRateIn());
				break;
			}
			case 25: // _set_MinimumDesiredCellRateEg
			{
			_out = handler.createReply();
			MinimumDesiredCellRateEg(_input.read_ulong());
				break;
			}
			case 26: // _set_MinimumCellRateIn
			{
			_out = handler.createReply();
			MinimumCellRateIn(_input.read_ulong());
				break;
			}
			case 27: // _get_MaximumBurstSizeIn
			{
			_out = handler.createReply();
			_out.write_ulong(MaximumBurstSizeIn());
				break;
			}
			case 28: // _get_PhysicalPortId
			{
			_out = handler.createReply();
			_out.write_string(PhysicalPortId());
				break;
			}
			case 29: // _set_SustainableCellRateEg
			{
			_out = handler.createReply();
			SustainableCellRateEg(_input.read_ulong());
				break;
			}
			case 30: // _get_AtmChannelTerminationPointAtmPathTerminationPoint
			{
			_out = handler.createReply();
			_out.write_string(AtmChannelTerminationPointAtmPathTerminationPoint());
				break;
			}
			case 31: // _get_PeakCellRateEg
			{
			_out = handler.createReply();
			_out.write_ulong(PeakCellRateEg());
				break;
			}
			case 32: // _set_ServiceCategoryEg
			{
			_out = handler.createReply();
			ServiceCategoryEg(UtranNRMSystem.ServiceCategoryTypeHelper.read(_input));
				break;
			}
			case 33: // _get_UsageChannel
			{
			_out = handler.createReply();
			_out.write_string(UsageChannel());
				break;
			}
			case 34: // _get_MinimumCellRateEg
			{
			_out = handler.createReply();
			_out.write_ulong(MinimumCellRateEg());
				break;
			}
			case 35: // _get_MaximumBurstSizeEg
			{
			_out = handler.createReply();
			_out.write_ulong(MaximumBurstSizeEg());
				break;
			}
			case 36: // _set_PhysicalInterfaceType
			{
			_out = handler.createReply();
			PhysicalInterfaceType(_input.read_string());
				break;
			}
			case 37: // _set_MaximumBurstSizeEg
			{
			_out = handler.createReply();
			MaximumBurstSizeEg(_input.read_ulong());
				break;
			}
			case 38: // _set_PeakCellRateEg
			{
			_out = handler.createReply();
			PeakCellRateEg(_input.read_ulong());
				break;
			}
			case 39: // _get_VirtualChannelId
			{
			_out = handler.createReply();
			_out.write_ulong(VirtualChannelId());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
